﻿<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
    <meta charset="utf-8" />
    <title>Viettel CENSUS</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1.0" name="viewport" />
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta content="" name="description" />
    <meta content="" name="author" />
    <link rel="shortcut icon" href="@Url.Content("~/icon.png")" />
    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link href="@Url.Content("~/assets/global/plugins/font-awesome/css/font-awesome.min.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/assets/global/plugins/simple-line-icons/simple-line-icons.min.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/assets/global/plugins/bootstrap/css/bootstrap.min.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/assets/global/plugins/uniform/css/uniform.default.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/assets/admin/pages/css/home-online.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/assets/global/css/components.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/assets/global/css/plugins.css")" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/assets/global/plugins/bootstrap-select/bootstrap-select.min.css")" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/assets/global/plugins/select2/select2.css")"/>

    <!-- END THEME STYLES -->
    <link rel="shortcut icon" href="favicon.ico" />
    <script src="@Url.Content("~/assets/global/plugins/jquery-1.11.0.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/assets/global/plugins/select2/select2.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/assets/global/plugins/bootstrap/js/bootstrap.min.js")" type="text/javascript"></script>
    <script type="text/javascript" src="@Url.Content("~/assets/global/plugins/bootstrap-select/bootstrap-select.min.js")"></script>
    <script src="@Url.Content("~/assets/global/plugins/bootbox/bootbox.min.js")"></script>
    <script src="@Url.Content("~/assets/global/scripts/metronic.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/assets/admin/layout/scripts/layout.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/assets/global/scripts/jquery.custom.js")" type="text/javascript"></script>
    

<script>
    $(document).ready(function () {
        $('.logout').click(function () {
            bootbox.dialog({
                title: "Thông báo",
                message: "Bạn có muốn thay đổi Lưu và Thoát không?",
                buttons: {
                    success: {
                        label: "<i class='fa fa-save'></i> Đồng ý",
                        className: "btn btn-sm btn-primary",
                        callback: function () {
                            check = null;
                            $('button[id=btnNext]').each(function (i, e) {
                                if (i == "0") {
                                    check = i;
                                }
                            });
                            if (check == null) {
                                window.location.href = '@Url.Action("LogOff", "Online")';
                            } else {
                                $("#btnNext").trigger("click", ["2"]);
                            }
                           
                        }
                    },
                    danger: {
                        label: "<i class='fa fa-reply'></i> Bỏ qua",
                        className: "btn btn-sm btn-default",
                        callback: function () {
                           
                        }
                    }
                }
            });
        })
        $('.support').click(function () {
            var open_link = window.open('', '_blank');
            open_link.location = '@Url.Action("Support", "Support")';
        });
    })
</script>
    <style>
        .logout:hover {
            cursor: pointer;
            text-decoration: underline;
        }
        .support:hover {
            cursor: pointer;
            text-decoration: underline;
        }
    </style>
</head>

<body class="home">
    <div class="row" style="margin:0px;">
        <div class="banner">
            <div class="col-md-2 colleft"></div>
            <div class="col-md-8 colcenter">
                <div class="logo pull-left"></div>
                
                <div class="pull-right"><div class="logout">[Thoát]</div></div>
                <div class="pull-right"><div class="support">[Trợ giúp]</div></div>
                <div class="clearfix"></div>
            </div>
            <div class="col-md-2 colright"></div>
        </div>
    </div>
    <div class="clearfix"></div>
    <div class="row" style="margin:0px;">
        <div class="col-md-2 colleft"></div>
        <div class="col-md-8 colcenter">
            <div class="content">
                @RenderBody()
            </div>

        </div>
        <div class="col-md-2 colright"></div>
    </div>
    
    <div class="footer">© Copyright 2014 - Viettel ICT. All right reserved.</div>
</body>
</html>